package com.androidwwf.jwr;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class GameRandomPictureMainScreenActivity extends Activity {
	
	private Button buttonOk;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.gamemainscreen);
        init();
    }
    
    private void init()
    {
    	buttonOk = (Button) findViewById(R.id.button1);
    	buttonOk.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				finish();
				Intent playGame = new Intent("com.androidwwf.jwr.GAMERANDOMPICTUREACTIVITY");
				startActivity(playGame);
			}
		});
    }

}
